<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<title>Document</title>
		<script src="../js/vue.js"></script>
	</head>

	<body>
		<!-- 用v-pre指令可以防止元素内容中的{{}}被vue编译，让内容中的{{}}原样显示！ -->
		<div id="app">
			<h1 v-pre>Vue框架采用{{uname}}方式绑定元素的内容</h1>
		</div>
		<script>
			var vm = new Vue({
				el: "#app",
				data: {
					uname: "dingding"
				}
			})
		</script>
	</body>

</html>
